home *** CD-ROM | disk | FTP | other *** search
- Updated 04/28/96
- Joe Lyda 1:3622/1000 jlyda@edge.net
-
- Commandline:
- MAILMOVE [Source_Dir] [Destination_Dir] [FileName_to_move_without_extention]
-
- Command Line #1 is the directory that the mail ????????.* files are to be
- moved from.
- Command Line #2 is the directory that the mail ????????.* will be moved to.
- Command Line #3 is the first eight characters of the mail bundle. (0000FFFF
- would be used for Planet Connect mail bundles) DO NOT
- INCLUDE THE FILE EXTENTION!!
-
- [example]
- MAILMOVE K:\FIDO\IN S:\IM\FILES 0000FFFF
-
- MAILMOVE.EXE can go anywhere in your path= statement in the autoexec.bat.
-
- Great for multi source mail bundles.
-
- Moves mail bundles acording to date/time stamp, the oldiest file first
-
- I made mailmove more freindly as to accomidate other source of mail as well
- as NO MORE CONFIG FILE!!
-
- I run a 4 node network using Novel Lite and MAILMOVE will move across the
- net from any drive to any drive that is maped by Novel Lite. I allow PCFU
- to move all my files from the Planet Connect Computer (node3) to my
- H:\IM\TOSS drive and directory (node1) and let IM events handle the rest
- of the work except for a if exist statement that checks the im\toss
- directory for mail. Following is a example of my batch file that I use.
- Works well under Lantasti 6.0 and Novell Personal.
-
- You might want to try my TICMOVE as well.
-
- [sample batch file]
- :START
- if exist h:\im\toss\0000ffff.* goto GET_FIDO_MAIL
- if exist h:\im\inbound\oueight1.* goto GET_OTHERNET_MAIL
- C:
- CD\im
- ECHO OFF
- CTTY CON
- c:
- CD c:\im
- im /nounpack
- IF ERRORLEVEL 99 GOTO LOCAL_CAT
- if ERRORLEVEL 89 GOTO GET_OTHERNET_MAIL
- IF ERRORLEVEL 88 GOTO GET_FIDO_MAIL
- IF ERRORLEVEL 87 GOTO PROCESS_MAIL
- IF ERRORLEVEL 86 GOTO CLEAN_UP
- IF ERRORLEVEL 81 GOTO PACK_MAIL
- IF ERRORLEVEL 75 GOTO EVENT_ONE
- IF ERRORLEVEL 51 GOTO BBS
- IF ERRORLEVEL 48 GOTO BBS
- IF ERRORLEVEL 45 GOTO BBS
- IF ERRORLEVEL 40 GOTO BBS
- IF ERRORLEVEL 35 GOTO BBS
- IF ERRORLEVEL 10 GOTO CLICK_CLICK
- GOTO CLICK_CLICK
-
- :GET_MAIL
- CD\im
- :MAIL_MOVE
- mailmove s:\im\toss s:\im\files 0000FFFF
- cd\gecho
- gecho toss scan import
- IF EXIST C:\IM\FILE\0000FFFF.* GOTO MORE_MAIL
- goto START
- :GET_OTHERNET_MAIL
- mailmove c:\im\othernet s:\im\files oueight1
- cd\gecho
- gecho toss scan import
- if exist c:\im\othernet\oueight1.* goto GET_OTHERNET_MAIL
- goto start
-
- REM ENDING SESSION
- :CLICK_CLICK